<div class="search-box">
	<form class="search_form layui-form" lay-filter="adsense_search_form">
		<div class="layui-inline">
			<label class="layui-form-label">广告位</label>
			<div class="layui-input-inline">
				<input type="text" name="adsense_name" autocomplete="off" class="layui-input">
			</div>
		</div>
		<div class="pack-up"></div>
	</form>
</div>
<table class="layui-hide" id="adsense_list" lay-filter="adsense_list"></table>
<script>
	var adsense_list_url = "{:url('adsense/ajaxList')}";
	var adsense_delete_url = "{:url('adsense/ajaxDelete')}";
	var adsense_one_url = "{:url('adsense/ajaxOneData')}";
	var adsense_save_url = "{:url('adsense/saveData')}";
	var adsense_cols = {$cols};
</script>
<script type="text/html" id="adsenseToolbar">
  <div class="layui-btn-container">
    <a type="button" data-id="add_adsense" data-url="{:url('adsense/tplForm')}" data-title="新增广告位" class="layui-btn layui-btn-normal layui-btn-sm tap-nav" lay-event="addAdsense"><i class="layui-icon layui-icon-add-1"></i>新增</a>
    <button type="button" class="layui-btn layui-btn-danger layui-btn-sm" lay-event="delAdsense"><i class="layui-icon layui-icon-delete"></i>删除</button>
  </div>
</script>
<script type="text/html" id="adsense_tool">
	<div class="layui-btn-group">
		<a class="layui-btn layui-btn-normal layui-btn-xs tap-nav" lay-event="edit" data-id="edit_adsense_{{ d.adsense_id}}" data-url="{:url('adsense/tplForm')}?adsense_id={{ d.adsense_id}}" data-title="修改广告位"><i class="layui-icon layui-icon-edit"></i></a>
		<a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del" data-title="删除"><i class="layui-icon layui-icon-delete"></i></a>
		<a class="layui-btn layui-btn-danger layui-btn-xs hide-update" lay-event="update"><i class="layui-icon layui-icon-up"></i></a>
	</div>
</script>
<script src="/static/js/adsense/adsense.js" type="text/javascript" charset="utf-8"></script>